body {
	font-family: sans-serif;
	background-color: white;
	overflow: hidden;
}

panel {
	position: absolute;
	display: block;
	top: 2%;
	left: 2%;
	bottom: 2%;
	right: 2%;
	border: 2px solid black;
}

title {
	position: absolute;
	display: block;
	top: 0;
	height: 30px;
	width: 100%;
	line-height: 30px;
	border-bottom: 2px solid black;
	text-align: center;
}

inventory {
	position: absolute;
	display: block;
	height: 100%;
	width: 128px;
	border-right: 2px solid black;
}

inventory part {
	cursor: pointer;
}

parts {
	position: absolute;
	top: 30px;
	bottom: 30px;
	width: 100%;
	overflow-y: auto;
}

part {
	display: block;
	background-color: black;
	height: 64px;
	width: 64px;
	margin: 10px auto;
}

selector {
	cursor: move;
	position: fixed;
	display: block;
	visibility: hidden;
	background-color: rgba(255, 255, 255, 0.5);
	border: 2px solid black;
	border-radius: 5px;
	z-index: 1;
	padding-right: 10px;
	overflow-y: auto;
	max-height: 50%;
	max-width: 370px;
}

selector part {
	cursor: move;
	display: inline-block;
	margin-left: 10px;
}

.selected {
	background-color: blue;
}

quantity {
	position: relative;
	display: block;
	top: -6px;
	left: 50px;
	height: 15px;
	width: 15px;
	padding: 2px;
	font-size: 12px;
	text-align: center;
	line-height: 16px;
	background-color: white;
	border: 2px solid black;
	border-radius: 15px;
}


inventory buttons {
	position: absolute;
	bottom: 0px;
	width: 100%;
	border-top: 2px solid black;
}

button {
	display: inline-block;
	height: 100%;
	width: 50%;
	border: 0;
	background-color: transparent;
	font-size: 20px;
}

button:hover {
	background-color: lightgrey;
}

.add {
	color: green;
	border-right: 1px solid black;
}

.remove {
	color: red;
}

mod {
	position: absolute;
	display: block;
	height: 100%;
	left: 128px;
	right: 0;
	overflow-y: auto;
}

mods {
	position: absolute;
	top: 30px;
	bottom: 0;
	width: 100%;
	overflow-y: auto;
}

mod table {
	height: 100%;
	width: 100%;
	border: 1px solid black;
	border-collapse: collapse;
}